package com.ctsims.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ctsims.common.annotation.Excel;
import com.ctsims.common.core.domain.BaseEntity;

/**
 * 课程成绩对象 cts_scores
 *
 * @author hhz
 * @date 2023-04-01
 */
public class CtsScores extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 成绩表ID */
    @Excel(name = "成绩表ID")
    private Long id;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long stuId;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 课程分数 */
    @Excel(name = "课程分数")
    private Long score;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String stuName;

    /** 学生姓名 */
    @Excel(name = "课程名称")
    private String courseName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStuId(Long stuId)
    {
        this.stuId = stuId;
    }

    public Long getStuId()
    {
        return stuId;
    }
    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stuId", getStuId())
            .append("courseId", getCourseId())
            .append("score", getScore())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
